package com.candy.oop1;

public class Test05 {
    public static void main(String[] args) {
        Solider s1=new Solider();
        Solider s2=new Solider();
        Gun ak47=new AK47();
        Gun k98=new K98();
        s1.fightting(ak47);
        s2.fightting(k98);

    }
}
